﻿angular.module("AppConfig", ['ngSanitize']).factory('appconfig', [function () {
    var baseelement = angular.element(document.getElementById("body_animate"));
    return {
        // baseurl: "https://api.youlijinfu.com",
        // imgurl: "https://file.youlijinfu.com/",
        // hfurl:'https://lab.chinapnr.com/muser/publicRequests',
        // shareurl: "https://wei.youlijinfu.com/spread/invitereg.html?getsharecode=",
        baseurl:"http://192.168.0.109:9005",
        imgurl:"http://192.168.0.109:9005/api/file/",
        hfurl:'http://mertest.chinapnr.com/muser/publicRequests',
        shareurl: "http://app.test.youlijinfu.cn/spread/invitereg.html?getsharecode=",//测试地址
        sharelogo: "https://file.youlijinfu.com/images/safety/icon1.png", //分享图标
        baseurladd: "",
        version:"2018060502",
        isjsonp: false,
        loopconfig: {
            produthomeloop: true,
            produchomebannerloop: false,
            safetyloop: false //暂时无用
        },
        speedconfig: {
            produthome: 3000,
            producthomebanner: 3000,
            safety: 0
        },
        messagecontentstyle: 'border:none;',
        messagetitlestyle: 'background-color:#f39800; color:#fff;',
        messagepanlstyle: 'width:100%; height:' + document.documentElement.clientHeight + 'px; background-color:transparent; border:none;',
        messagetime: 2,
        baseanimateelement: baseelement,
        refreshad: { title: ['公安部等保三证书，实力铸造安全', 'CFCA“安心签”，电子合同的法律保障', '公安机关网站备案，信息真实有效', '电信ICP证，业务合法经营', '汇付天下托管，资金隔离更安全', 'CCTV《大众生活》战略合作伙伴', '资金同卡进出，保护资金安全'] }, //下拉广告词
        pulldowntime: 500,
        appdownurl: "http://a.app.qq.com/o/simple.jsp?pkgname=com.youlijinfu.android"
    };
}]); 
